-
Notifications
You must be signed in to change notification settings - Fork 35
IMPROVEMENT: Andy Piper fix to tempcal script #29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
a56275f
to
bb12266
Compare
5e892eb
to
8399d49
Compare
☂️ Python Coverage
Overall Coverage
New FilesNo new covered files... Modified Files
|
041fb58
to
46095ad
Compare
8399d49
to
87d0309
Compare
87d0309
to
f182273
Compare
1a4bd94
to
df9f512
Compare
f182273
to
ae677f3
Compare
ae677f3
to
bfef6ad
Compare
@andyp1per did you talk with @tridge about this? Does he agree with this? |
bfef6ad
to
7e87805
Compare
Test Results 2 files 2 suites 1m 41s ⏱️ Results for commit 4359fbb. ♻️ This comment has been updated with latest results. |
7e87805
to
208d284
Compare
208d284
to
4359fbb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Overview
This PR improves the tempcal script by adding an extra condition to control IMU processing in the IMUfit loop.
- Introduces an additional check (c.enable[imu] == 2) to skip processing based on the enable state.
- Adjusts the control flow in the IMUfit function accordingly.
Reviewed Changes
File | Description |
---|---|
ardupilot_methodic_configurator/tempcal_imu.py | Adds condition to bypass processing when c.enable[imu] equals 2. |
Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.
Comments suppressed due to low confidence (1)
ardupilot_methodic_configurator/tempcal_imu.py:374
- Ensure that c.enable[imu] is properly initialized for every imu index before checking if it equals 2 to avoid potential index errors.
if stop_capture[imu] or c.enable[imu] == 2:
This is a copy of ArduPilot/ardupilot#27294